//go:build linux

package chrome

import (
	"fmt"
	"os/exec"
	"syscall"
)

func runChrome(execPath string, args ...string) error {
	c := exec.Command(execPath, args...)
	c.SysProcAttr = &syscall.SysProcAttr{}

	err := c.Start()
	chromeLogger.Info(fmt.Sprintf("starting chrome %v", c))
	return err

}
